PDFCallback(event)
Callback called by a MatlabServer object for generating a pdf document as response
event | modelit.webserver.HttpExchange | with the request data and methods to generate a response. |
No output
server = modelit.web.server.Server('localhost', 8081, @PDFCallback).start() % Open a webbrowser and type: http://localhost:8081 in the address bar % Now a pdf appears in the browser.